package com.pet.order.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "订单付款表单实体")
public class PayFormDTO {

    @ApiModelProperty("订单id")
    @NotNull(message = "订单ID")
    private Long orderId;

    @ApiModelProperty("收货地址id")
    @NotNull(message = "收货地址")
    private Integer addressId;

    @ApiModelProperty("支付类型")
    @NotNull(message = "支付类型")
    private Integer paymentType;
}
